package com.luoying.itew.bean;

import java.util.List;

public class UserInfo {
    /**
     * userCity : 深圳市
     * userMobile : 18279910562
     * userPosition : 巡查人员
     * userType : 2
     * userName : 陈洋洋洋洋洋
     * userId : 61
     * userAreas : []
     */

    private String userCity;
    private String userMobile;
    private String userPosition;

    /**
     * @deprecated  过时
     * 0 安泰用户 1 政府用户 3公司账号
     */
    private int userType;
    /**
     * 用户名称
     */
    private String userName;
    private int userId;
    private List<PointCityBean> userAreas;

    /***
     * 用户类型
     * 0 系统管理员 1 市级管理员 2 区级管理员 3 街道办管理员 4 市级用户 5 区级用户 6 街道办用户 7 街道办巡查人员
     */
    private int userLevel;

    /**
     * 用户登录名
     * 可能userMobile一样，有可能不一样
     */
    private String loginName;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    public String getUserPosition() {
        return userPosition;
    }

    public void setUserPosition(String userPosition) {
        this.userPosition = userPosition;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public List<PointCityBean> getUserAreas() {
        return userAreas;
    }

    public void setUserAreas(List<PointCityBean> userAreas) {
        this.userAreas = userAreas;
    }

    public int getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(int userLevel) {
        this.userLevel = userLevel;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userCity='" + userCity + '\'' +
                ", userMobile='" + userMobile + '\'' +
                ", userPosition='" + userPosition + '\'' +
                ", userType=" + userType +
                ", userName='" + userName + '\'' +
                ", userId=" + userId +
                ", userAreas=" + userAreas +
                ", userLevel=" + userLevel +
                '}';
    }
}
